<div class="three">
    <div class="info">
        <a href="{:index_url('user/set')}">
            <el-image :src="userInfo.cover"></el-image>
            <span>{{userInfo.nickname}}</span>
        </a>
    </div>
    <div class="item">
        <div class="header">基本设置</div>
        <a href="{:index_url('user/index')}" class="menu" :class="{if $pathinfo === 'user/index'}'active'{/if}">账号管理</a>
        <a href="{:index_url('user/set')}" class="menu" :class="{if $pathinfo === 'user/set'}'active'{/if}">个人资料</a>
    </div>
</div>